<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
            box-sizing: border-box;
        }

        /* 输入框placeholder文字颜色 */
        input::-webkit-input-placeholder {
            color: rgb(6, 63, 37);
        }

        body {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100vw;
            height: 100vh;
            background-image: url("./background.jpg");
            background-size: 100% 100%;
            background-repeat: no-repeat;
        }

        form {
            display: flex;
            align-items: center;
            flex-direction: column;
            width: 400px;
            height: 300px;
            /* 毛玻璃效果 */
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
            background: transparent;
            backdrop-filter: blur(10px);
            /*高斯模糊*/
            border-radius: 30px;
        }

        H1 {
            margin-top: 20px;
            font-size: 24px;
            color: rgb(10, 68, 41);
        }

        #text,
        #password {
            margin-top: 20px;
            width: 80%;
            border-bottom: 2px solid rgb(5, 55, 32);
        }

        input {
            width: 100%;
            height: 40px;
            font-size: 16px;
            background-color: rgba(215, 229, 214, 0);
            border: 0px;
            outline: none;
        }

        button {
            margin-top: 40px;
            width: 70%;
            height: 50px;
            font-size: 18px;
            font-weight: bold;
            color: rgb(11, 107, 62);
            line-height: 50px;
            text-align: center;
            border: 0px;
            background-image: linear-gradient(to right, rgb(61, 115, 51), rgb(196, 241, 148), rgb(61, 115, 51));
            border-radius: 25px;
            box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .7);
            cursor: pointer;
        }
    </style>
</head>

<body>
    <form @submit="e=>{e.preventDefault()}">
        <H1>LOGIN</H1>
        <div id="text">
            <input type="text" placeholder="请输入用户名">
        </div>
        <div id="password">
            <input type="password" placeholder="请输入密码">
        </div>
        <button>登录</button>
    </form>
</body>

</html>